<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        class Animal1 {
            constructor(){
                this.aaa = 'aaa'
            }
            a1(){

            }
            static a2(){
                console.log('a2')
            }
        }

            class Humen1 extends Animal1{
                constructor(name,age){
                    super()
                    this.name = name;
                    this.age = age;
                    this.print = function(){
                        console.log('print')
                    }
                }
                
                #come = 100

                eat(){
                    console.log('eat')
                }

                static change(){
                    console.log('change')
                }
            }

            var a = new Humen1('小明',22)
            a.eat()

            Humen1.change()
            Animal1.a2()
    </script>
</body>
</html>